package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author Ye QS
 * @version 0.1
 * @className ProductEnquiry
 * @description
 * @date 2024/9/25 14:40
 * @since jdk11
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("产品询价单")
public class SProductEnquiry implements Serializable {

    @ApiModelProperty(value = "产品询价单id")
    private Integer id;

    @ApiModelProperty(value = "询价单号")
    private String code;

    @ApiModelProperty(value = "类型：1 询价单，2 咨询单")
    private Byte cid;

    @ApiModelProperty(value = "销售人员id")
    private Integer saleId;

    @ApiModelProperty(value = "状态：1 待报价，2 报价中，3 已报价")
    private Byte status;

    @ApiModelProperty(value = "总价")
    private BigDecimal price;

    @ApiModelProperty(value = "产品类型")
    private Integer categoryId;

    @ApiModelProperty(value = "修改描述")
    private String modifyDesc;

    @ApiModelProperty(value = "询价日期")
    private String enquiryDate;
    List<SProductEnquiryDetail> sProductEnquiryDetailList;
}